﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Oglasavanje.aspx.cs" Inherits="automobili_gui.Ulogovan_korisnik.Oglasavanje" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">

    .style1
    {
        width: 153px;
    }

     
    
        .style2
        {
            width: 153px;
            height: 30px;
        }
        .style3
        {
            height: 30px;
        }

     
    
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table style="width: 100%;">
        <tr>
            <td class="style1">
            Marka:</td>
            <td class="style1">
                <asp:DropDownList ID="markaLista" runat="server" CausesValidation="True"
               >
                </asp:DropDownList>
            </td>
            <td>
                <asp:Label ID="marka" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style1">
            Model:</td>
            <td class="style1">
                <asp:DropDownList ID="modelLista" runat="server" 
                
                 CausesValidation="True">
                </asp:DropDownList>
            </td>
            <td>
                <asp:Label ID="model" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style1">
            Pogonsko gorivo:</td>
            <td class="style1">
                <asp:DropDownList ID="gorivoLista" runat="server" CausesValidation="true">
                </asp:DropDownList>
            </td>
            <td>
                <asp:Label ID="gorivo" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style1">
            Oblik karoserije:</td>
            <td class="style1">
                <asp:DropDownList ID="karoserijaLista" runat="server" CausesValidation="true">
                </asp:DropDownList>
            </td>
            <td>
                <asp:Label ID="karoserija" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style1">
            Cena:</td>
            <td class="style1">
                <asp:TextBox ID="cenaUnos" runat="server" CausesValidation="true"></asp:TextBox>
            </td>
            <td>
                <asp:Label id="cen" ForeColor="Red" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style1">
            Godina proizvodnje:</td>
            <td class="style1">
                <asp:TextBox ID="godinaUnos" runat="server"></asp:TextBox>
            </td>
            <td>
                <asp:Label id="godP" ForeColor="Red" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style2">
                <asp:Button ID="traziDugme" runat="server" Text="Unesi" OnClick="unesi" />
            </td>
            <td class="style2">
            </td>
            <td class="style3">
                <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
            </td>
        </tr>
    </table>
</asp:Content>
